• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Requests] Automatic Blessing Check On Login

pugamoline

uint32_t patch_mem(char *
Joined
Nov 15, 2011
Messages
189
Reaction score
19
I was thinking that the characters sometimes need to verify whether or not blessings therefore wanted to know if there is a script that shows entering the game for the blessings ..

example FALSE:


PHP:
19:21 Check Automaticaly of blessings.
19:21 First bless: not working, go to Norf NPC - Thais.
19:21 Second bless: not working, goto NPC Humphrey - Carlin.
19:21 thirtha bless: not working, Edale goto NPC - Ab'dendriel.
19:21 Fourth bless: not working, Pydar goto NPC - Kazordoon.
19:21 Fifth bless: not working, goto Eremo NPC - Eremo's Isle.

Example TRUE:

PHP:
19:21 Check Automaticaly of blessings.
19:21 First bless: Working, [ok] Norf NPC - Thais.
19:21 Second bless: Working, [ok] NPC Humphrey - Carlin.
19:21 thirtha bless: Working, [ok]  NPC Edale  - Ab'dendriel.
19:21 Fourth bless: Working, [ok] Pydar  - Kazordoon.
19:21 Fifth bless: Working, [ok] Eremo NPC - Eremo's Isle.


Zorry mi bad English ^^

Thanks to Mock.

Anyone can help?
I rep++++!
 
paste to login.lua script in creaturescripts

somethink like this:

if getPlayerBlessing(cid, 1) == true then
bless1 = "blessing 1 [true]"
elseif getPlayerBlessing(cid, 1) == false then
bless1 = "blessing 2 [false]"
end

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have blessings: " .. bless1 .. "," .. bless2 .. "")


etc.
 
Back
Top