prompt trouble

Scripts for zMUD and CMUD

prompt trouble

Postby marushu » Tue Oct 11, 2005 1:48 pm

Was hoping maybe one of talented coders could help me :)

I cannot seem to get my script to capture the prompt correctly. For some reason it does not store anything inside the variables. Any help would be greatly appreciated.

[code:1bhuz2ek]#CLASS {Prompt} {enable}
#VAR hp {}
#VAR maxhp {}
#VAR ma {}
#VAR maxma {}
#VAR mv {}
#VAR maxmv {}
#TRIGGER {^~<(%1)/(%2)hp (%3)/(%4)ma (%5)/(%6)mv~>} {
#VAR hp %1
#VAR maxhp %2
#VAR ma %3
#VAR maxma %4
#VAR mv %5
#VAR maxmv %6
} "" {nocr|prompt}
#CLASS 0
[/code:1bhuz2ek]
marushu
 
Posts: 2
Joined: Tue Oct 11, 2005 1:27 pm
Status: Offline

Return to zMUD/CMUD Scripts

Who is online

Users browsing this forum: No registered users and 3 guests

cron